package config

import (
    "github.com/gin-gonic/gin"
    log "github.com/sirupsen/logrus"
)

func initLog() {
    if DebugMode {
        gin.SetMode(gin.DebugMode)
        log.SetLevel(log.DebugLevel)
    } else {
        gin.SetMode(gin.ReleaseMode)
        log.SetLevel(log.InfoLevel)
    }
}
